package JLB_Chapter_06;
// 此文件不运行
public class doStringTest {
    // 成员变量
    int id;
    String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        int id = 0;
        setName("Java");
        return id + this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void doString(String name) {
        int id = 0;
        for(int i = 0; i < 10; i++) {
            System.out.println(name + String.valueOf(i));
        }
        for(int i = 0; i < 3; i++) {
            System.out.println(i);
        }
    }
}
